﻿namespace Jim.OA.Service;

/// <summary>
/// OA分部
/// </summary>
[Tenant("OA")]
[SugarTable("HrmSubCompany", "OA分部")]
public class OAHrmSubCompany  : OAEntityBase
{
    /// <summary>
    /// 分部简称
    /// </summary>
    [SugarColumn(ColumnName = "subcompanyname", ColumnDescription = "分部简称", Length = 1000)]
    public string? subcompanyname { get; set; }
    
    /// <summary>
    /// 分部描述
    /// </summary>
    [SugarColumn(ColumnName = "subcompanydesc", ColumnDescription = "分部描述", Length = 1000)]
    public string? subcompanydesc { get; set; }
    
    /// <summary>
    /// 所属总部id
    /// </summary>
    [SugarColumn(ColumnName = "companyid", ColumnDescription = "所属总部id")]
    public bool? companyid { get; set; }
    
    /// <summary>
    /// 上级分部id
    /// </summary>
    [SugarColumn(ColumnName = "supsubcomid", ColumnDescription = "上级分部id")]
    public int? supsubcomid { get; set; }
    
    /// <summary>
    /// 网址
    /// </summary>
    [SugarColumn(ColumnName = "url", ColumnDescription = "网址", Length = 1000)]
    public string? url { get; set; }
    
    /// <summary>
    /// 封存标识
    /// </summary>
    [SugarColumn(ColumnName = "canceled", ColumnDescription = "封存标识", Length = 1)]
    public string? canceled { get; set; }
    
    /// <summary>
    /// 分部编码
    /// </summary>
    [SugarColumn(ColumnName = "subcompanycode", ColumnDescription = "分部编码", Length = 1000)]
    public string? subcompanycode { get; set; }
    
    /// <summary>
    /// 外键
    /// </summary>
    [SugarColumn(ColumnName = "outkey", ColumnDescription = "外键", Length = 1000)]
    public string? outkey { get; set; }
    
    /// <summary>
    /// 做预算结转时的临时排序用
    /// </summary>
    [SugarColumn(ColumnName = "budgetAtuoMoveOrder", ColumnDescription = "做预算结转时的临时排序用")]
    public int? budgetAtuoMoveOrder { get; set; }
    
    /// <summary>
    /// 分部首字母拼音
    /// </summary>
    [SugarColumn(ColumnName = "ecology_pinyin_search", ColumnDescription = "分部首字母拼音", Length = 1000)]
    public string? ecology_pinyin_search { get; set; }
    
    /// <summary>
    /// 限制用户数
    /// </summary>
    [SugarColumn(ColumnName = "limitUsers", ColumnDescription = "限制用户数")]
    public int? limitUsers { get; set; }
    
    /// <summary>
    /// 等级
    /// </summary>
    [SugarColumn(ColumnName = "tlevel", ColumnDescription = "等级")]
    public int? tlevel { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    [SugarColumn(ColumnName = "uuid", ColumnDescription = "", Length = 100)]
    public string? uuid { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    [SugarColumn(ColumnName = "showorder", ColumnDescription = "")]
    public double? showorder { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    [SugarColumn(ColumnName = "showOrderOfTree", ColumnDescription = "")]
    public int? showOrderOfTree { get; set; }
    
}
